import { ICmpnt } from ".";
import { IBind, IBindDbTable } from "./IBind";
import { IWidget } from "./IWidget";


export interface IContainerField {
    title: string;
    name: string,
    colorTag?:string;
    format?:string;
    cmpnts?: ICmpnt[];
    fieldId?: string|number;
}
export interface IContainer extends IWidget {
    viewable: boolean;
    props: {
        fields?: IContainerField[];
        options: any[],
        class: string[];
        style: {};
        bind: IBind;
        DbTable?: IBindDbTable;
        [key: string]: any | any[];
    };
    slot: {
        [name: string]: IContainer[] | IWidget[];
    };
    children: any[],
}
